<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css" crossorigin="anonymous">
    <style>
        body {
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        .fixed-width {
            background-color: white;
            width: 400px;
            border-radius: 12px;
            padding: 40px;
            margin: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            border: none;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-control {
            border-radius: 8px;
            padding: 12px 15px;
            border: 1px solid #e0e0e0;
            transition: all 0.3s;
        }

        .form-control:focus {
            border-color: #4361ee;
            box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
        }

        label {
            font-weight: 500;
            margin-bottom: 8px;
            display: block;
        }

        .btn-primary {
            background-color: #4361ee;
            border: none;
            padding: 12px;
            border-radius: 8px;
            width: 100%;
            font-weight: 500;
            letter-spacing: 0.5px;
            transition: all 0.3s;
        }

        .btn-primary:hover {
            background-color: #3a56d4;
            transform: translateY(-2px);
        }

        .form-text {
            font-size: 0.85rem;
            color: #6c757d !important;
            margin-top: 6px;
        }

        .form-check-label {
            font-weight: normal;
            cursor: pointer;
        }

        .form-check-input {
            cursor: pointer;
        }

        .form-check-input:checked {
            background-color: #4361ee;
            border-color: #4361ee;
        }
    </style>
    </style>
</head>
<body>
<div class="fixed-width">
    <form action="loginValidate" method="post">
        <div class="form-group">
            <label for="exampleInputEmail1">用户名：</label>
            <input type="text" class="form-control" name="username" id="exampleInputEmail1"
                   aria-describedby="emailHelp">
            <small id="emailHelp" class="form-text text-muted">We'll never share your name with anyone else.</small>
        </div>
        <div class="form-group">
            <label for="exampleInputPassword1">密码：</label>
            <input type="password" class="form-control" name="password" id="exampleInputPassword1">
        </div>
        <div class="form-group">
            <label for="exampleRadios1">请选择身份:</label>
            <div class="form-check">
                <input class="form-check-input" type="radio" name="role" id="exampleRadios1" value="1" checked>
                <label class="form-check-label" for="exampleRadios1">
                    学生
                </label>
            </div>
            <div class="form-check">
                <input class="form-check-input" type="radio" name="role" id="exampleRadios2" value="2">
                <label class="form-check-label" for="exampleRadios2">
                    教师
                </label>
            </div>
            <div class="form-check">
                <input class="form-check-input" type="radio" name="role" id="exampleRadios3" value="3">
                <label class="form-check-label" for="exampleRadios2">
                    管理员
                </label>
            </div>
        </div>
        <div class="form-group form-check">
            <input type="checkbox" class="form-check-input" id="exampleCheck1">
            <label class="form-check-label" for="exampleCheck1">Check me out</label>
        </div>
        <button type="submit" class="btn btn-primary">登录</button>
    </form>
</div>
<script src="/bootstrap/js/jquery.min.js" crossorigin="anonymous"></script>
<script src="/bootstrap/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
</body>
</html>